Skip to content

reschedule clone_repos regardless of how many repos were found#3796

Open
MoralCode wants to merge 1 commit intomainfrom
fix/facade_scheduling
Open

reschedule clone_repos regardless of how many repos were found#3796
MoralCode wants to merge 1 commit intomainfrom
fix/facade_scheduling

Conversation

@MoralCode
Copy link
Copy Markdown
Collaborator

Description
This PR fixes #3321 - a bug where, especially on smaller instances, facade appears to not clone repos until the instance is restarted after core and facade are ready.

This was due to an indentation bug with the self-rescheduling behavior of this task where it only reschedules itself if it processed at least one repo.

given how this is implemented, we could maybe simplify it further by making this a properly scheduled task alongside the same lines as collection_monitor, rather than DIYing it

Notes for Reviewers
both the conversation in the issue and AI helped diagnose this issue but all code is human written

Signed commits

  • Yes, I signed my commits.

… need cloning

Signed-off-by: Adrian Edwards <adredwar@redhat.com>
@MoralCode MoralCode requested a review from sgoggins as a code owner March 26, 2026 15:03
@MoralCode
Copy link
Copy Markdown
Collaborator Author

i cant test this for a while, but it should be relatively easy to test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Facade is not picking up jobs until Augur is restarted following core collection

1 participant